package cn.bdqn.petadoptions.comment;

/**
 * @ProjectName: Petadoptions
 * @Package: cn.bdqn.petadoptions.comment
 * @ClassName: Constants
 * @Author: haha  86130
 * @Description: 常量类
 * @Date: 2021/8/25 10:22
 * @Version: 1.0
 */
public class Constants {

    /** 否 */
    public static Integer PET_NOT = 0;
    /** 是 */
    public static Integer PET_YESE = 1;

    /**
     * 商品相关常量
     */
    public static class Files{

        /**
         * 文件最小限制
         */
        public static Integer SIZE_MIN = 0;

        /**
         * 文件最大限制
         */
        public static Integer SIZE_MAX = 5 * 1024 * 1024;
    }
    /**
     * 符号
     */
    public static class Sign{
        /** 冒号 */
        public final static String COLON = ":";
        /** 下划线 */
        public final static String UNDERLINE = "_";
        /** 逗号 */
        public final static String COMMA = ",";
        /** 点 */
        public final static String FULL_STOP = ".";
    }
    /**
     * 正则表达式
     */
    public static class Regular{
        /** 手机号简单正则 */
        public static String PHONE_REGULAR_EXPRESSION = "^[1][0-9]{10}$";
    }
}
